Crate starlark_map
source ·Expand description
Ordered map optimized for starlark-rust use cases.
Modules
- A Map with deterministic iteration order that specializes its storage based on the number of entries to optimize memory. This is essentially
IndexMap
with two changes: - Ordered set.
- A
Vec<(A, B)>
like object which storesA
andB
separately.
Macros
Structs
- A key and its hash.
- A hash value.
- A hasher used by Starlark implementation.
BuildHasher
implementation which producesStarlarkHasher
.
Traits
- Values are equivalent for hashmap: hashes are equal and values are logically equal.